package com.tpc.eb.utils;

import com.tpc.eb.controller.FormMainController;
import javafx.fxml.FXMLLoader;

public class OutputUtil {
    private static FormMainController formMainController = null;
    static {
        FXMLLoader loader = new FXMLLoader(OutputUtil.class.getResource("FormMain.fxml"));
        formMainController = loader.getController();
    }

    public static void printLog(String message){
        formMainController.model.setText(message);
    }
}
